<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extrasspringsecurity5">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/login" method="post">
    <!--获取_csrf: 90cba07a-458d-42ce-8d04-cc86a6c544e5，用于与服务器校验请求-->
    <input type="hidden" th:value="${_csrf.token}" name="_csrf" th:if="${_csrf}"/>
    <input type="text" name="username"/><br>
    <input type="text" name="password"/><br>
    <input type="checkbox" name="remember-me" value="true">
    <input type="submit" value="登录" >
</form>
</body>
</html>
